package com.example.demo.entity;
import lombok.AllArgsConstructor;

import lombok.NoArgsConstructor;


public class Picture{
    private int id;
    private String description;

    private String pictureFileURL;

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getPictureFileURL() {
        return pictureFileURL;
    }

    public void setPictureFileURL(String pictureFileURL) {
        this.pictureFileURL = pictureFileURL;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Picture(int id, String description, String pictureFileURL) {
        this.id = id;
        this.description = description;
        this.pictureFileURL = pictureFileURL;
    }

    public Picture(String description, String pictureFileURL) {
        this.description = description;
        this.pictureFileURL = pictureFileURL;
    }

    @Override
    public String toString() {
        return "Picture{" +
                "id=" + id +
                ", description='" + description + '\'' +
                ", pictureFileURL='" + pictureFileURL + '\'' +
                '}';
    }

    //    @Override
//    public String toString() {
//        return "Picture{" +
//                "description='" + description + '\'' +
//                ", pictureFileURL='" + pictureFileURL + '\'' +
//                '}';
//    }
//
//    public Picture(String description, String pictureFileURL) {
//        this.description = description;
//        this.pictureFileURL = pictureFileURL;
//    }
//
    public Picture() {
        super();
    }
}